Feature: Modificar POST

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
1m 44.192s

Scenario: Como un usuario inicio sesión y edito un post agrego un botón

Before 0m 1.153s
Given I navigate to page "http://localhost:2368/ghost/#/signin" 0m 0.742s
And I wait for 1 seconds 0m 1.123s
And I set text "<USERNAME>" on element with xpath "<USERNAME_EID>" 0m 0.167s
And I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>" 0m 0.147s
And I wait for 1 seconds 0m 1.123s
Then I click element with xpath "<BTN_SIGNIN_EID>" 0m 0.210s
And I wait for 1 seconds 0m 1.184s
Given I navigate to page "http://localhost:2368/ghost/#/editor/post" 0m 0.183s
And I wait for 1 seconds 0m 1.103s
And I set text "POST con Imágen para ACTUALIZAR CON BOTÓN" on element with xpath "<POST_TITLE_ECLASS>" 0m 0.201s
And I wait for 1 seconds 0m 1.118s
And I click element with xpath "<ADD_IMAGE_ECLASS>" 0m 0.193s
And I wait for 5 seconds 0m 5.328s
And I click element with xpath "<INSERT_IMAGE_ECLASS>" 0m 0.195s
And I wait for 5 seconds 0m 5.248s
And I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>" 0m 0.365s
And I wait for 5 seconds 0m 5.260s
Then I navigate to page "http://localhost:2368/ghost/#/posts" 0m 0.405s
And I click element with xpath "<POST_ONLIST_CLASS>" 0m 0.193s
And I wait for 1 seconds 0m 1.247s
Then I click element with xpath "<CONTENT_ECLASS>" 0m 0.285s
And Enter on element with xpath "<CONTENT_ECLASS>" 0m 0.263s
And I wait for 1 seconds 0m 1.249s
Then I click element with xpath "<PLUS_ADD_ECLASS>" 0m 0.397s
And I wait for 2 seconds 0m 2.284s
Then I click element with xpath "<ADD_BUTTON_XPATH>" 0m 0.400s
And I wait for 3 seconds 0m 3.317s
And I set text "Botón Actualizado" on element with xpath "<ADD_BUTTON_TEXT_XPATH>" 0m 0.367s
And I wait for 1 seconds 0m 1.267s
And I set text "<YOUTUBE_LINK>" on element with xpath "<ADD_BUTTON_URL_XPATH>" 0m 0.696s
And I wait for 1 seconds 0m 1.301s
And I set text "POST ACTUALIZADO" on element with xpath "<POST_TITLE_ECLASS>" 0m 0.323s
And I wait for 1 seconds 0m 1.267s
Then I click element with xpath "<CONTENT_ECLASS>" 0m 0.304s
And I wait for 3 seconds 0m 3.267s
Then I click element with xpath "<CONTENT_ECLASS>" 0m 0.312s
After 0m 0.005s

Screenshots

Before
NO IMAGE AVAILABLE
Given I navigate to page "http://localhost:2368/ghost/#/signin"
And I wait for 1 seconds
And I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
And I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
And I wait for 1 seconds
Then I click element with xpath "<BTN_SIGNIN_EID>"
And I wait for 1 seconds
Given I navigate to page "http://localhost:2368/ghost/#/editor/post"
And I wait for 1 seconds
And I set text "POST con Imágen para ACTUALIZAR CON BOTÓN" on element with xpath "<POST_TITLE_ECLASS>"
And I wait for 1 seconds
And I click element with xpath "<ADD_IMAGE_ECLASS>"
And I wait for 5 seconds
And I click element with xpath "<INSERT_IMAGE_ECLASS>"
And I wait for 5 seconds
And I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
And I wait for 5 seconds
Then I navigate to page "http://localhost:2368/ghost/#/posts"
And I click element with xpath "<POST_ONLIST_CLASS>"
And I wait for 1 seconds
Then I click element with xpath "<CONTENT_ECLASS>"
And Enter on element with xpath "<CONTENT_ECLASS>"
And I wait for 1 seconds
Then I click element with xpath "<PLUS_ADD_ECLASS>"
And I wait for 2 seconds
Then I click element with xpath "<ADD_BUTTON_XPATH>"
And I wait for 3 seconds
And I set text "Botón Actualizado" on element with xpath "<ADD_BUTTON_TEXT_XPATH>"
And I wait for 1 seconds
And I set text "<YOUTUBE_LINK>" on element with xpath "<ADD_BUTTON_URL_XPATH>"
And I wait for 1 seconds
And I set text "POST ACTUALIZADO" on element with xpath "<POST_TITLE_ECLASS>"
And I wait for 1 seconds
Then I click element with xpath "<CONTENT_ECLASS>"
And I wait for 3 seconds
Then I click element with xpath "<CONTENT_ECLASS>"
After
NO IMAGE AVAILABLE